package ModelLayer;



/**
 * The test class loantest.
 *
 * @author  (your name)
 * @version (a version number or a date)
 */
public class loantest extends junit.framework.TestCase
{
	private ModelLayer.LoanCollection loanColl1;
	private ModelLayer.Loan loan1;
	private ModelLayer.Loan loan2;

    /**
     * Default constructor for test class loantest
     */
    public loantest()
    {
    }

    /**
     * Sets up the test fixture.
     *
     * Called before every test case method.
     */
    protected void setUp()
    {
		loanColl1 = new ModelLayer.LoanCollection();
		loan1 = new ModelLayer.Loan(1, "3727", 1, true);
		loan2 = new ModelLayer.Loan(2, "8790", 3, false);
		loanColl1.makeLoan(loan1);
		loanColl1.makeLoan(loan2);
		loanColl1.getLoan(1);
	}

    /**
     * Tears down the test fixture.
     *
     * Called after every test case method.
     */
    protected void tearDown()
    {
    }
}
